package com.wanxi.education.model.vo.catalogue;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: yanguangqiong
 * @Description:
 * @Date: Created in 2021/9/24
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "课程目录类")
public class CatalogueVo {
    @ApiModelProperty(value = "目录id")
    private Long id;

    @ApiModelProperty(value = "目录标题")
    private String title;
    /**
     * 视频id
     */
    @ApiModelProperty(value = "视频id")
    private Long videoId;

    @ApiModelProperty(value = "视频时长")
    private String time;
    /*
    *子目录
    * */
    private List<CatalogueVo> list;
}
